package com.tamtamy.jtta.data.xml;

import org.w3c.dom.Document;

import com.tamtamy.jtta.data.TagDetail;
import com.tamtamy.jtta.utility.XMLUtility;

public class XMLTagDetail extends TagDetail{
	
	
	public XMLTagDetail(Document xmlDocument){
		super();
		tag = XMLUtility.getString(xmlDocument, "tag");
		count = Integer.parseInt(XMLUtility.getString(xmlDocument, "count"));
		contentsid = XMLUtility.getStringList(xmlDocument, "contents", "long");
	}

}
